1
/************************************* Module Header **************************************\
2 * Module Name: Persons.cs
3 * Project: CSWPFDataBinding
4 * Copyright (c) Microsoft Corporation.
6 * This example demonstrates how to use DataBinding in WPF
9 * This source is subject to the Microsoft Public License.
10 * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
11 * All other rights reserved.
14 * * 10/29/2009 3:00 PM Bruce Zhou Created
16 \******************************************************************************************/
19 using System
.Collections
.Generic
;
22 using System
.Collections
.ObjectModel
;
24 namespace CSWPFDataBinding
26 public class Persons
: ObservableCollection
<Person
>
29 /// Initializes a new instance of the <see cref="Persons"/> class.
33 this.Add(new Person() {
36 Interest
="Basketball",
40 this.Add(new Person() {
47 this.Add(new Person() {